import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
// import store from './store'
import 'vant/lib/index.css'; // 引入组件样式
import Vant from 'vant'; // 全量引入组件
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// .use(Vant)注册所有组件
createApp(App).use(createPinia().use(piniaPluginPersistedstate)).use(Vant).use(router).mount('#app')
